package wnxy.wn44.shopwn.mapper;

import org.springframework.stereotype.Component;
import wnxy.wn44.shopwn.entity.Perm;
import wnxy.wn44.shopwn.entity.User;

import java.util.List;

@Component
public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    List<User> selectAll();

    List<User> selectByConditon(User user);

    List<Perm> selectfindJointQuery(int parseInt);
}